//
//  MyAdv.m
//  个人信息拼接
//
//  Created by lanou on 15/12/25.
//  Copyright © 2015年 lanou. All rights reserved.
//

#import "MyAdv.h"

@implementation MyAdv


- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.wuxiaominView = [[UIImageView alloc]initWithFrame:CGRectMake(kWidth / 40, kHeight / 3.7, kWidth - kWidth / 20, kWidth/3.125)];
        self.wuxiaominView.image = [UIImage imageNamed:@"wuxiaomin"];
        [self addSubview:self.wuxiaominView];
        
        
        self.wangtaoView = [[UIImageView alloc]initWithFrame:CGRectMake(kWidth / 40, kHeight/ 2.15, kWidth - kWidth / 20, kWidth/3.125)];
        self.wangtaoView.image = [UIImage imageNamed:@"wangtao"];
        [self addSubview:self.wangtaoView];
        
        self.xuminView = [[UIImageView alloc]initWithFrame:CGRectMake(kWidth / 40, kHeight / 1.5, kWidth - kWidth / 20, kWidth/3.125)];
        self.xuminView.image = [UIImage imageNamed:@"xumin"];
        [self addSubview:self.xuminView];
        
        
        
    }
    return self;
}





/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
